﻿using Domain.Abstract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Concrete
{
    public class XaPhuongRepository : IXaPhuongRepository
    {
        private NCCEntities _context = new NCCEntities();

        public IQueryable<XaPhuong> GetXaPhuongsByQuanHuyenId(int quanHuyenId)
        {
            return _context.XaPhuongs.Where(x => x.IdQuanHuyen == quanHuyenId);
        }
    }
}
